<% title "Sign up", false %>

<% form_for @user do |f| %>
  <%= f.error_messages %>
  <p>
    <%= f.label :username %>
    <%= f.text_field :username %>
  </p>
  <p>
    <%= f.label :email, "Email Address" %>
    <%= f.text_field :email %>
  </p>
  <p>
    <%= f.label :password %>
    <%= f.password_field :password %>
  </p>
  <p>
    <%= f.label :password_confirmation, "Confirm Password" %>
    <%= f.password_field :password_confirmation %>
  </p>
  <p class="align-right"><%= f.submit "Sign up" , :class => 'button' %></p>
<% end %>
  
<p class="flash_note">Already have an account? <%= link_to "Log in", login_path %>.</p>
